package com.biostime.qdingding.modules.job.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.biostime.qdingding.common.service.BaseService;
import com.biostime.qdingding.modules.job.dao.CourseAbsentDao;

/**
 * 旷课日结Service
 * @author phil
 * @version 2016-03-14
 */
@Service
@Transactional(readOnly = true)
public class CourseAbsentService extends BaseService {
	
	@Autowired
	private CourseAbsentDao courseAbsentDao;
	
	/**
	 * 日志对象
	 */
	protected Logger logger = LoggerFactory.getLogger("courseabsent");
	
	
	public List<Map<String,Object>> getAbsentCourses(Date time, int limit){
		return courseAbsentDao.getAbsentCourses(time, limit);
	}
}
